import request from '@/utils/request'

const BASE_URL = '/admin/system/loginLog'

export default {
  getLoginLogPageInfo(page, limit, searchObj) {
    return request({
      url: `${BASE_URL}/${page}/${limit}`,
      method: 'get',
      params: searchObj
    })
  },
  getLoginLogById(id) {
    return request({
      url: `${BASE_URL}/get/${id}`,
      method: 'get'
    })
  }
}
